﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using NPSoft.Ferrero.Framework.Model;

namespace NPSoft.Ferrero.DataBridge.Model
{
    /// <summary>
    /// Distributor Model
    /// </summary>
    public class Distributor : ModelBase
    {
        /// <summary>
        /// A unique code to identify the Distributor
        /// </summary>
        [JsonProperty("Sold To CD")]
        public string DIST_FACT_CD { get; set; }

        /// <summary>
        /// Name of the Distributor
        /// </summary>
        [JsonProperty("Sold To NAME CH")]
        public string DIST_FACT_NAME { get; set; }

        /// <summary>
        /// Short Name of the Distributor
        /// </summary>
        [JsonProperty("Sold To SHORT NAME CH")]
        public string DIST_FACT_SHORTNAME { get; set; }

        /// <summary>
        /// English Short Name of the Distributor
        /// </summary>
        [JsonProperty("Sold To SHORT NAME EN")]
        public string DIST_FACT_SHORTNAME_EN { get; set; }

        /// <summary>
        /// Distributor Group Code
        /// </summary>
        [JsonProperty("Sold To GROUP Code")]
        public string DIST_GROUP_CD { get; set; }

        /// <summary>
        /// Distributor Group Description
        /// </summary>
        [JsonProperty("Sold To GROUP Desc")]
        public string DIST_GROUP { get; set; }

        /// <summary>
        /// Distributor address 1  in Chinese
        /// </summary>
        [JsonProperty("Sold To ADDR 1")]
        public string SOLD_ADDR_1 { get; set; }

        /// <summary>
        /// Distributor address 2  in Chinese
        /// </summary>
        [JsonProperty("Sold To ADDR 2")]
        public string SOLD_ADDR_2 { get; set; }

        /// <summary>
        /// Distributor address city  in Chinese
        /// </summary>
        [JsonProperty("Sold To ADDR 3")]
        public string SOLD_ADDR_3 { get; set; }

        /// <summary>
        /// Distributor address state in Chinese
        /// </summary>
        [JsonProperty("Sold To ADDR 4")]
        public string SOLD_ADDR_4 { get; set; }

        /// <summary>
        /// Distributor address 5 in Chinese
        /// </summary>
        [JsonProperty("Sold To ADDR 5")]
        public string SOLD_ADDR_5 { get; set; }

        /// <summary>
        /// Distributor postal code  
        /// </summary>
        [JsonProperty("Sold To POSTAL")]
        public string SOLD_ADDR_POSTAL { get; set; }

        /// <summary>
        /// Distributor main contact person 
        /// </summary>
        [JsonProperty("Sold To CONT PR")]
        public string SOLD_ADDR_CONT_PR { get; set; }

        /// <summary>
        /// Distributor main contact person phone number
        /// </summary>
        [JsonProperty("Sold To CONT NO")]
        public string SOLD_ADDR_CONT_NO { get; set; }

        /// <summary>
        /// Distributor main fax number
        /// </summary>
        [JsonProperty("Sold To FAX NO")]
        public string SOLD_ADDR_FAX_NO { get; set; }

        /// <summary>
        /// Distributor address 1  in English
        /// </summary>
        [JsonProperty("Sold To ADDR 1 EN")]
        public string SOLD_ADDR_E_1 { get; set; }

        /// <summary>
        /// Distributor address 2  in English
        /// </summary>
        [JsonProperty("Sold To ADDR 2 EN")]
        public string SOLD_ADDR_E_2 { get; set; }

        /// <summary>
        /// Distributor address city  in English
        /// </summary>
        [JsonProperty("Sold To ADDR 3 EN")]
        public string SOLD_ADDR_E_3 { get; set; }

        /// <summary>
        /// Distributor address state   in English
        /// </summary>
        [JsonProperty("Sold To ADDR 4 EN")]
        public string SOLD_ADDR_E_4 { get; set; }

        /// <summary>
        /// Distributor address 5  in English
        /// </summary>
        [JsonProperty("Sold To ADDR 5 EN")]
        public string SOLD_ADDR_E_5 { get; set; }

        /// <summary>
        /// Rename_Flag
        /// </summary>
        [JsonProperty("Rename Flag")]
        public string RENAME_FLAG { get; set; }

        /// <summary>
        /// Rename_Date
        /// </summary>
        [JsonProperty("Rename Date")]
        public DateTime RENAME_DT { get; set; }

        /// <summary>
        /// City English Name
        /// </summary>
        [JsonProperty("Sold To CITY EN")]
        public string SOLD_CITY_NODE_DESC { get; set; }

        /// <summary>
        /// City Chinese Name
        /// </summary>
        [JsonProperty("Sold To CITY CH")]
        public string SOLD_CITY_NODE_CH_DESC { get; set; }

        /// <summary>
        /// City Cluster English Name
        /// </summary>
        [JsonProperty("Sold To CITY Cluster EN")]
        public string SOLD_Cluster_NODE_DESC { get; set; }

        /// <summary>
        /// City Cluster Chinses Name
        /// </summary>
        [JsonProperty("Sold To CITY Cluster CH")]
        public string SOLD_Cluster_NODE_CH_DESC { get; set; }

        /// <summary>
        /// Area English Name
        /// </summary>
        [JsonProperty("Sold To Area EN")]
        public string SOLD_Area_NODE_DESC { get; set; }

        /// <summary>
        /// Area Chinese Name
        /// </summary>
        [JsonProperty("Sold To Area CH")]
        public string SOLD_Area_NODE_CH_DESC { get; set; }

        /// <summary>
        /// Region English Name
        /// </summary>
        [JsonProperty("Sold To Region EN")]
        public string SOLD_Region_NODE_DESC { get; set; }

        /// <summary>
        /// Region Chinese Name
        /// </summary>
        [JsonProperty("Sold To Region CH")]
        public string SOLD_Region_NODE_CH_DESC { get; set; }

        [JsonProperty("Sold To Status")]
        public string SOLD_Status { get; set; }

        [JsonProperty("Sold To Conerminate")]
        public string SOLD_Con_Ter{ get; set; }

        /// <summary>
        /// A unique code to identify the Ship_To
        /// </summary>
        [JsonProperty("Ship To CD")]
        public string ADDR_CD { get; set; }

        /// <summary>
        /// Chinese Name of the Ship_To
        /// </summary>
        [JsonProperty("Ship To NAME CH")]
        public string ADDR_DESC { get; set; }

        /// <summary>
        /// Chinese Short Name of the Ship_To
        /// </summary>
        [JsonProperty("Ship To SHORT NAME CH")]
        public string SHIPTO_SHOTNAME { get; set; }

        /// <summary>
        /// English Short Name of the Ship_To
        /// </summary>
        [JsonProperty("Ship To SHORT NAME EN")]
        public string SHIPTO_E_SHOTNAME { get; set; }

        /// <summary>
        ///  Ship_To address 1  in Chinese
        /// </summary>
        [JsonProperty("Ship To ADDR 1")]
        public string SHIP_ADDR_1 { get; set; }

        /// <summary>
        /// Ship_To address 2  in Chinese
        /// </summary>
        [JsonProperty("Ship To ADDR 2")]
        public string SHIP_ADDR_2 { get; set; }

        /// <summary>
        /// Ship_To address city  in Chinese
        /// </summary>
        [JsonProperty("Ship To ADDR 3")]
        public string SHIP_ADDR_3 { get; set; }

        /// <summary>
        /// Ship_To address state in Chinese
        /// </summary>
        [JsonProperty("Ship To ADDR 4")]
        public string SHIP_ADDR_4 { get; set; }

        /// <summary>
        /// Ship_To address 5 in Chinese
        /// </summary>
        [JsonProperty("Ship To ADDR 5")]
        public string SHIP_ADDR_5 { get; set; }

        /// <summary>
        /// Ship_To postal code  
        /// </summary>
        [JsonProperty("Ship To POSTAL")]
        public string SHIP_ADDR_POSTAL { get; set; }

        /// <summary>
        /// Ship_To main contact person 
        /// </summary>
        [JsonProperty("Ship To CONT PR")]
        public string SHIP_ADDR_CONT_PR { get; set; }

        /// <summary>
        /// Ship_To main contact person phone number
        /// </summary>
        [JsonProperty("Ship To CONT NO")]
        public string SHIP_ADDR_CONT_NO { get; set; }

        /// <summary>
        /// Ship_To main fax number
        /// </summary>
        [JsonProperty("Ship To FAX NO")]
        public string SHIP_ADDR_FAX_NO { get; set; }

        /// <summary>
        /// Ship_To address 1  in English
        /// </summary>
        [JsonProperty("Ship To ADDR 1 EN")]
        public string SHIP_ADDR_E_1 { get; set; }

        /// <summary>
        /// Ship_To address 2  in English
        /// </summary>
        [JsonProperty("Ship To ADDR 2 EN")]
        public string SHIP_ADDR_E_2 { get; set; }

        /// <summary>
        /// Ship_To address city  in English
        /// </summary>
        [JsonProperty("Ship To ADDR 3 EN")]
        public string SHIP_ADDR_E_3 { get; set; }

        /// <summary>
        /// Ship_To address state   in English
        /// </summary>
        [JsonProperty("Ship To ADDR 4 EN")]
        public string SHIP_ADDR_E_4 { get; set; }

        /// <summary>
        /// Ship_To address 5  in English
        /// </summary>
        [JsonProperty("Ship To ADDR 5 EN")]
        public string SHIP_ADDR_E_5 { get; set; }

        /// <summary>
        /// City English Name
        /// </summary>
        [JsonProperty("Ship To CITY EN")]
        public string SHIP_CITY_NODE_DESC { get; set; }

        /// <summary>
        /// City Chinese Name
        /// </summary>
        [JsonProperty("Ship To CITY CH")]
        public string SHIP_CITY_NODE_CH_DESC { get; set; }

        /// <summary>
        /// City Cluster English Name
        /// </summary>
        [JsonProperty("Ship To CITY Cluster EN")]
        public string SHIP_Cluster_NODE_DESC { get; set; }

        /// <summary>
        /// City Cluster Chinses Name
        /// </summary>
        [JsonProperty("Ship To CITY Cluster CH")]
        public string SHIP_Cluster_NODE_CH_DESC { get; set; }

        /// <summary>
        /// Area English Name
        /// </summary>
        [JsonProperty("Ship To Area EN")]
        public string SHIP_Area_NODE_DESC { get; set; }

        /// <summary>
        /// Area Chinese Name
        /// </summary>
        [JsonProperty("Ship To Area CH")]
        public string SHIP_Area_NODE_CH_DESC { get; set; }

        /// <summary>
        /// Region English Name
        /// </summary>
        [JsonProperty("Ship To Region EN")]
        public string SHIP_Region_NODE_DESC { get; set; }

        /// <summary>
        /// Region Chinese Name
        /// </summary>
        [JsonProperty("Ship To Region CH")]
        public string SHIP_Region_NODE_CH_DESC { get; set; }

        [JsonProperty("Ship To Status")]
        public string SHIP_Status { get; set; }

        [JsonProperty("Ship To Conerminate")]
        public string SHIP_Con_Ter { get; set; }
    }
}
